package com.yf.exam.modules.trainingarchives.evaluation.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
@ApiModel(value="EvaluationExplain对象", description="满意度调查说明模板表")
public class EvaluationExplainDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "满意度调查说明模板ID")
    private String id;

    @ApiModelProperty(value = "满意度调查说明模板名称")
    @NotBlank(message = "满意度调查说明模板名称不能为空")
    private String title;

    @ApiModelProperty(value = "说明内容")
    @NotBlank(message = "说明内容不能为空")
    private String content;

    @ApiModelProperty(value = "模板类型（1：培训班模板，2：培训教师模板）")
    @Min(value = 1, message = "模板类型不能为空")
    private Integer type;

    @ApiModelProperty(value = "机构id")
    private String organizationId;

}
